package com.jacen.fzxs.exception;

import com.jacen.fzxs.entity.webservice.ResponseState;

public class WebException extends RuntimeException {
	
	protected int exceptionCode;
	private String msg;
	
	public WebException(String msg) {
		super(msg);
		this.msg = msg;
		this.exceptionCode = ResponseState.CODE.UNKNOWN_EXCEPTION;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getExceptionCode() {
		return exceptionCode;
	}

	public void setExceptionCode(int exceptionCode) {
		this.exceptionCode = exceptionCode;
	}
	
	
	
}
